package com.cx.dto;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
@Document(indexName = "hotel",type = "hotel")
public class ElasticSearchDto {
    @Id
    private Integer id;

    @Field(type = FieldType.Keyword)
    private Integer brandId;

    @Field(type = FieldType.Keyword)
    private String hotelCity;

    @Field(type = FieldType.Keyword)
    private String hotelLocate;

    @Field(type = FieldType.Keyword)
    private String hotelContent;

    @Field(type = FieldType.Keyword)
    private String hotelName;

    @Field(type = FieldType.Keyword)
    private String areaName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getHotelCity() {
        return hotelCity;
    }

    public void setHotelCity(String hotelCity) {
        this.hotelCity = hotelCity;
    }

    public String getHotelLocate() {
        return hotelLocate;
    }

    public void setHotelLocate(String hotelLocate) {
        this.hotelLocate = hotelLocate;
    }

    public String getHotelContent() {
        return hotelContent;
    }

    public void setHotelContent(String hotelContent) {
        this.hotelContent = hotelContent;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

}
